[INFO] cloning repository https://github.com/Miraphix/compile-dev
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Miraphix/compile-dev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiraphix%2Fcompile-dev", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiraphix%2Fcompile-dev'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06c66f4a283c52c71d323c1c6318cb79e29dbc37
[INFO] fixing Miraphix/compile-dev against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiraphix%2Fcompile-dev" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Miraphix/compile-dev
[INFO] finished tweaking git repo https://github.com/Miraphix/compile-dev
[INFO] tweaked toml for git repo https://github.com/Miraphix/compile-dev written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Miraphix/compile-dev on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Miraphix/compile-dev already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: dependencies.lalrpop-util.feature
[INFO] [stderr] warning: `compile-dev` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded koopa v0.0.10
[INFO] [stderr]   Downloaded bit-vec v0.9.1
[INFO] [stderr]   Downloaded lalrpop-util v0.23.1
[INFO] [stderr]   Downloaded key-node-list v0.0.6
[INFO] [stderr]   Downloaded bit-set v0.9.1
[INFO] [stderr]   Downloaded lalrpop v0.23.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392
[INFO] running `Command { std: "docker" "start" "40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: dependencies.lalrpop-util.feature
[INFO] [stderr] warning: `compile-dev` (manifest) generated 1 warning
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling lalrpop-util v0.23.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling keccak v0.1.6
[INFO] [stderr]    Compiling term v1.2.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling fixedbitset v0.5.7
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bit-vec v0.9.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]    Compiling ascii-canvas v4.0.0
[INFO] [stderr]    Compiling bit-set v0.9.1
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking key-node-list v0.0.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling petgraph v0.8.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling string_cache v0.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling lalrpop v0.23.1
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking koopa v0.0.10
[INFO] [stderr]    Compiling compile-dev v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `koopa::ir::builder_traits::*`
[INFO] [stdout]  --> src/translate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use koopa::ir::builder_traits::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `koopa::ir::builder_traits::*`
[INFO] [stdout]  --> src/translate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use koopa::ir::builder_traits::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_str`
[INFO] [stdout]  --> src/irgen/program.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl std::fmt::Write for Program {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_str` in implementation
[INFO] [stdout]   |
[INFO] [stdout]   = help: implement the missing item: `fn write_str(&mut self, _: &str) -> Result<(), std::fmt::Error> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write_str`
[INFO] [stdout]  --> src/irgen/program.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl std::fmt::Write for Program {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `write_str` in implementation
[INFO] [stdout]   |
[INFO] [stdout]   = help: implement the missing item: `fn write_str(&mut self, _: &str) -> Result<(), std::fmt::Error> { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&mut String`
[INFO] [stdout]   --> src/irgen/generate.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         program += "";
[INFO] [stdout]    |         -------^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         cannot use `+=` on type `&mut String`
[INFO] [stdout]    |
[INFO] [stdout] help: `+=` can be used on `String` if you dereference the left-hand side
[INFO] [stdout]    |
[INFO] [stdout] 10 |         *program += "";
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&mut String`
[INFO] [stdout]   --> src/irgen/generate.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         program += "";
[INFO] [stdout]    |         -------^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         cannot use `+=` on type `&mut String`
[INFO] [stdout]    |
[INFO] [stdout] help: `+=` can be used on `String` if you dereference the left-hand side
[INFO] [stdout]    |
[INFO] [stdout] 10 |         *program += "";
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/irgen/generate.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn generate(&self, program: &mut String) -> Result<String, Error> {
[INFO] [stdout]    |                                                 --------------------- expected `Result<String, irgen::error::Error>` because of return type
[INFO] [stdout] 10 |         program += "";
[INFO] [stdout] 11 |         program
[INFO] [stdout]    |         ^^^^^^^ expected `Result<String, Error>`, found `&mut String`
[INFO] [stdout]    |
[INFO] [stdout]    = note:           expected enum `Result<String, irgen::error::Error>`
[INFO] [stdout]            found mutable reference `&mut String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/irgen/generate.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn generate(&self, program: &mut String) -> Result<String, Error> {
[INFO] [stdout]    |                                                 --------------------- expected `Result<String, irgen::error::Error>` because of return type
[INFO] [stdout] 10 |         program += "";
[INFO] [stdout] 11 |         program
[INFO] [stdout]    |         ^^^^^^^ expected `Result<String, Error>`, found `&mut String`
[INFO] [stdout]    |
[INFO] [stdout]    = note:           expected enum `Result<String, irgen::error::Error>`
[INFO] [stdout]            found mutable reference `&mut String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/irgen/program.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn write_fmt(&mut self, args: std::fmt::Arguments<'_>) -> std::fmt::Result {
[INFO] [stdout]   |                                                               ---------------- expected `Result<(), std::fmt::Error>` because of return type
[INFO] [stdout] 7 |         Ok
[INFO] [stdout]   |         ^^ expected `Result<(), Error>`, found enum constructor
[INFO] [stdout]   |
[INFO] [stdout]   = note:          expected enum `Result<(), std::fmt::Error>`
[INFO] [stdout]           found enum constructor `fn(_) -> Result<_, _> {Result::<_, _>::Ok}`
[INFO] [stdout] help: use parentheses to construct this tuple variant
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Ok(/* value */)
[INFO] [stdout]   |           +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/irgen/program.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn write_fmt(&mut self, args: std::fmt::Arguments<'_>) -> std::fmt::Result {
[INFO] [stdout]   |                                                               ---------------- expected `Result<(), std::fmt::Error>` because of return type
[INFO] [stdout] 7 |         Ok
[INFO] [stdout]   |         ^^ expected `Result<(), Error>`, found enum constructor
[INFO] [stdout]   |
[INFO] [stdout]   = note:          expected enum `Result<(), std::fmt::Error>`
[INFO] [stdout]           found enum constructor `fn(_) -> Result<_, _> {Result::<_, _>::Ok}`
[INFO] [stdout] help: use parentheses to construct this tuple variant
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Ok(/* value */)
[INFO] [stdout]   |           +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main`
[INFO] [stdout]  --> src/translate.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let main = program.new_func_def_with_param_names(unit.func_def.ident, Vec::new(), Type::get_i32());
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_main`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/translate.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut program = Program::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program`
[INFO] [stdout]   --> src/translate.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut program = Program::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main`
[INFO] [stdout]  --> src/translate.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let main = program.new_func_def_with_param_names(unit.func_def.ident, Vec::new(), Type::get_i32());
[INFO] [stdout]   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_main`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/translate.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut program = Program::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program`
[INFO] [stdout]   --> src/translate.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut program = Program::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0368.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0368.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compile-dev` (bin "compile-dev" test) due to 4 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `compile-dev` (bin "compile-dev") due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392", kill_on_drop: false }`
[INFO] [stdout] 40b0668cc85af56f63ae9cb0a37758c409f9c8e797aefb86c731e5b691194392
